package Lab1;

public class Element {
	private double x;
	private double y;
	private double xy;
	private double xx;
	
	public Element(){
		x = 0;
		y = 0;
		xy = 0;
		xx = 0;
	}
	public double getX() {
		return x;
	}

	public void setX(double x) {
		this.x = x;
	}

	public double getY() {
		return y;
	}

	public void setY(double y) {
		this.y = y;
	}

	public double getXy() {
		return xy;
	}

	public void setXy() {
		this.xy = (this.x * this.y);
	}

	public double getXx() {
		return xx;
	}

	public void setXx() {
		this.xx = (this.x * this.x);
	}
}
